home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CTOOLS10.ARJ / RANDOM.H < prev    next >
C/C++ Source or Header  |  1991-10-28  |  1KB  |  46 lines

  1. /****************************************************************************
  2. *
  3. *                    Copyright (C) 1991 Kendall Bennett.
  4. *                            All rights reserved.
  5. *
  6. * Filename:        $RCSfile: random.h $
  7. * Version:        $Revision: 1.2 $
  8. *
  9. * Language:        ANSI C
  10. * Environment:    any
  11. *
  12. * Description:    Header file for random number module
  13. *
  14. * $Id: random.h 1.2 91/09/27 03:11:08 kjb Exp $
  15. *
  16. * Revision History:
  17. * -----------------
  18. *
  19. * $Log:    random.h $
  20. * Revision 1.2  91/09/27  03:11:08  kjb
  21. * Added compatibility with C++.
  22. * Revision 1.1  91/08/16  10:54:55  ROOT_DOS
  23. * Initial revision
  24. ****************************************************************************/
  25.  
  26. #ifndef    __RANDOM_H
  27. #define    __RANDOM_H
  28.  
  29. /*----------------------- Function Prototypes -----------------------------*/
  30.  
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif
  34.  
  35. void randinit(long s);
  36. long randomlong(long range);
  37. double randomfloat(void);
  38. double chisquare(int N,int r,long s);
  39.  
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43.  
  44. #endif